<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: Cloud类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_cloud.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_cloud-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Cloud类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>A wrapper which allows to use any implementation of cloud provided by a third-party library.  
 <a href="class_cloud.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="cloud_8h_source.html">cloud.h</a>&gt;</code></p>
<div class="dynheader">
类 Cloud 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cloud.png" usemap="#Cloud_map" alt=""/>
  <map id="Cloud_map" name="Cloud_map">
<area href="class_statistics.html" alt="Statistics" shape="rect" coords="0,0,61,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:af5b5031e09251a860c35e82e96bd1eef"><td class="memItemLeft" align="right" valign="top"><a id="af5b5031e09251a860c35e82e96bd1eef"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#af5b5031e09251a860c35e82e96bd1eef">Cloud</a> ()</td></tr>
<tr class="memdesc:af5b5031e09251a860c35e82e96bd1eef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor <br /></td></tr>
<tr class="separator:af5b5031e09251a860c35e82e96bd1eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea94110bc5b060665fe22d3a3cc1259"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#abea94110bc5b060665fe22d3a3cc1259">Cloud</a> (const <a class="el" href="class_cloud.html">Cloud</a> &amp;copy)</td></tr>
<tr class="memdesc:abea94110bc5b060665fe22d3a3cc1259"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor  <a href="class_cloud.html#abea94110bc5b060665fe22d3a3cc1259">更多...</a><br /></td></tr>
<tr class="separator:abea94110bc5b060665fe22d3a3cc1259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48917b2d09d0940640182e9c1f0d17fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a48917b2d09d0940640182e9c1f0d17fb">Cloud</a> (const <a class="el" href="local_types_8h.html#ac9d3bd4a089ce0e457d8eac33b4ff838">Cloud3D</a> &amp;cloud, bool register_stats=false)</td></tr>
<tr class="memdesc:a48917b2d09d0940640182e9c1f0d17fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a cloud from a Cloud3D.  <a href="class_cloud.html#a48917b2d09d0940640182e9c1f0d17fb">更多...</a><br /></td></tr>
<tr class="separator:a48917b2d09d0940640182e9c1f0d17fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3b4ccc03e48584cacf48d803c2c9737"><td class="memItemLeft" align="right" valign="top"><a id="ac3b4ccc03e48584cacf48d803c2c9737"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac3b4ccc03e48584cacf48d803c2c9737">~Cloud</a> ()</td></tr>
<tr class="memdesc:ac3b4ccc03e48584cacf48d803c2c9737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:ac3b4ccc03e48584cacf48d803c2c9737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17bf9d88532235d54696afcb8a2fbc08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a17bf9d88532235d54696afcb8a2fbc08">operator=</a> (const <a class="el" href="class_cloud.html">Cloud</a> &amp;cloud)</td></tr>
<tr class="memdesc:a17bf9d88532235d54696afcb8a2fbc08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal Operator  <a href="class_cloud.html#a17bf9d88532235d54696afcb8a2fbc08">更多...</a><br /></td></tr>
<tr class="separator:a17bf9d88532235d54696afcb8a2fbc08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55cb30916685127ea3f5ec2f5a1bf5bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a55cb30916685127ea3f5ec2f5a1bf5bd">operator[]</a> (unsigned int index)</td></tr>
<tr class="memdesc:a55cb30916685127ea3f5ec2f5a1bf5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subscript Operator  <a href="class_cloud.html#a55cb30916685127ea3f5ec2f5a1bf5bd">更多...</a><br /></td></tr>
<tr class="separator:a55cb30916685127ea3f5ec2f5a1bf5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab09f18a615a0ced577b9d9199be8a0c4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ab09f18a615a0ced577b9d9199be8a0c4">operator[]</a> (unsigned int index) const</td></tr>
<tr class="memdesc:ab09f18a615a0ced577b9d9199be8a0c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subscript Operator  <a href="class_cloud.html#ab09f18a615a0ced577b9d9199be8a0c4">更多...</a><br /></td></tr>
<tr class="separator:ab09f18a615a0ced577b9d9199be8a0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50cb81a782226174179332c8a1ccf67f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a50cb81a782226174179332c8a1ccf67f">getCenter</a> (float &amp;x, float &amp;y, float &amp;z) const</td></tr>
<tr class="memdesc:a50cb81a782226174179332c8a1ccf67f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the center of the point cloud  <a href="class_cloud.html#a50cb81a782226174179332c8a1ccf67f">更多...</a><br /></td></tr>
<tr class="separator:a50cb81a782226174179332c8a1ccf67f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadcab77cbf8a04f98d3841a2148f174a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aadcab77cbf8a04f98d3841a2148f174a">getScalingFactor</a> () const</td></tr>
<tr class="memdesc:aadcab77cbf8a04f98d3841a2148f174a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the scaling factor for the point cloud  <a href="class_cloud.html#aadcab77cbf8a04f98d3841a2148f174a">更多...</a><br /></td></tr>
<tr class="separator:aadcab77cbf8a04f98d3841a2148f174a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d1205aeba226e5f4575b2e127f3f424"><td class="memItemLeft" align="right" valign="top">const float *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a1d1205aeba226e5f4575b2e127f3f424">getMatrix</a> () const</td></tr>
<tr class="memdesc:a1d1205aeba226e5f4575b2e127f3f424"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the transform matrix.  <a href="class_cloud.html#a1d1205aeba226e5f4575b2e127f3f424">更多...</a><br /></td></tr>
<tr class="separator:a1d1205aeba226e5f4575b2e127f3f424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc241f6776966bf7aab53f0d0081be90"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#adc241f6776966bf7aab53f0d0081be90">loadMatrix</a> (const float *matrix)</td></tr>
<tr class="memdesc:adc241f6776966bf7aab53f0d0081be90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the transform matrix for the cloud.  <a href="class_cloud.html#adc241f6776966bf7aab53f0d0081be90">更多...</a><br /></td></tr>
<tr class="separator:adc241f6776966bf7aab53f0d0081be90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68511f1fe20c65926790a11250ad3f67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a68511f1fe20c65926790a11250ad3f67">multMatrix</a> (const float *matrix)</td></tr>
<tr class="memdesc:a68511f1fe20c65926790a11250ad3f67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Right multiplies the cloud matrix with the passed matrix  <a href="class_cloud.html#a68511f1fe20c65926790a11250ad3f67">更多...</a><br /></td></tr>
<tr class="separator:a68511f1fe20c65926790a11250ad3f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a5fc9d58e6dd4a2e0ca83cb2b90846"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a73a5fc9d58e6dd4a2e0ca83cb2b90846">setSelectionRotation</a> (const float *matrix)</td></tr>
<tr class="memdesc:a73a5fc9d58e6dd4a2e0ca83cb2b90846"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the selection transform matrix to the one passed.  <a href="class_cloud.html#a73a5fc9d58e6dd4a2e0ca83cb2b90846">更多...</a><br /></td></tr>
<tr class="separator:a73a5fc9d58e6dd4a2e0ca83cb2b90846"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb2740fcc50e1e5aa97136703142d876"><td class="memItemLeft" align="right" valign="top"><a id="acb2740fcc50e1e5aa97136703142d876"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSelectionTranslation</b> (float dx, float dy, float dz)</td></tr>
<tr class="separator:acb2740fcc50e1e5aa97136703142d876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6b1eaecdc1607834f436e8a348c5c51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac6b1eaecdc1607834f436e8a348c5c51">setSelection</a> (<a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> selection_ptr)</td></tr>
<tr class="memdesc:ac6b1eaecdc1607834f436e8a348c5c51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the selected points.  <a href="class_cloud.html#ac6b1eaecdc1607834f436e8a348c5c51">更多...</a><br /></td></tr>
<tr class="separator:ac6b1eaecdc1607834f436e8a348c5c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a224129b1045b1788fbd12632c6c66085"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a224129b1045b1788fbd12632c6c66085">setRGB</a> (float r, float g, float b)</td></tr>
<tr class="memdesc:a224129b1045b1788fbd12632c6c66085"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the RGB values for coloring points in COLOR_BY_PURE mode.  <a href="class_cloud.html#a224129b1045b1788fbd12632c6c66085">更多...</a><br /></td></tr>
<tr class="separator:a224129b1045b1788fbd12632c6c66085"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c80af124215612f00cbae372d9fe715"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a7c80af124215612f00cbae372d9fe715">setHighlightColor</a> (float r, float g, float b)</td></tr>
<tr class="memdesc:a7c80af124215612f00cbae372d9fe715"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the RGB values used for highlighting the selected points.  <a href="class_cloud.html#a7c80af124215612f00cbae372d9fe715">更多...</a><br /></td></tr>
<tr class="separator:a7c80af124215612f00cbae372d9fe715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07dc96a1d9b6ade0759396b650b71e05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a07dc96a1d9b6ade0759396b650b71e05">draw</a> (bool disable_highlight=false) const</td></tr>
<tr class="memdesc:a07dc96a1d9b6ade0759396b650b71e05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders the cloud and highlights any selected points.  <a href="class_cloud.html#a07dc96a1d9b6ade0759396b650b71e05">更多...</a><br /></td></tr>
<tr class="separator:a07dc96a1d9b6ade0759396b650b71e05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a80d388e3b38078e37d97142b9ec74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ad9a80d388e3b38078e37d97142b9ec74">drawWithTexture</a> () const</td></tr>
<tr class="memdesc:ad9a80d388e3b38078e37d97142b9ec74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders the cloud and highlights any selected points.  <a href="class_cloud.html#ad9a80d388e3b38078e37d97142b9ec74">更多...</a><br /></td></tr>
<tr class="separator:ad9a80d388e3b38078e37d97142b9ec74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a524e59307d2482b9245a256c0ec91d97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a524e59307d2482b9245a256c0ec91d97">drawWithRGB</a> () const</td></tr>
<tr class="memdesc:a524e59307d2482b9245a256c0ec91d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders the cloud and highlights any selected points.  <a href="class_cloud.html#a524e59307d2482b9245a256c0ec91d97">更多...</a><br /></td></tr>
<tr class="separator:a524e59307d2482b9245a256c0ec91d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1b373bbc6b4c5772ccb195ab30a3172"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac1b373bbc6b4c5772ccb195ab30a3172">drawWithPureColor</a> () const</td></tr>
<tr class="memdesc:ac1b373bbc6b4c5772ccb195ab30a3172"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders the cloud and highlights any selected points.  <a href="class_cloud.html#ac1b373bbc6b4c5772ccb195ab30a3172">更多...</a><br /></td></tr>
<tr class="separator:ac1b373bbc6b4c5772ccb195ab30a3172"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1a2a1b24f11ea309be5aad5f063b56"><td class="memItemLeft" align="right" valign="top"><a id="abb1a2a1b24f11ea309be5aad5f063b56"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#abb1a2a1b24f11ea309be5aad5f063b56">drawWithHighlightColor</a> () const</td></tr>
<tr class="memdesc:abb1a2a1b24f11ea309be5aad5f063b56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders the cloud with the color used for highlighting the selected points. <br /></td></tr>
<tr class="separator:abb1a2a1b24f11ea309be5aad5f063b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9709d47e4bc5fb26c387c02c497bc6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a1b9709d47e4bc5fb26c387c02c497bc6">setColorRampAxis</a> (<a class="el" href="local_types_8h.html#ae3996976d8ffb3e58d88f58227473f8e">Axis</a> a)</td></tr>
<tr class="memdesc:a1b9709d47e4bc5fb26c387c02c497bc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the axis along which the displyed points should have the color ramp applied.  <a href="class_cloud.html#a1b9709d47e4bc5fb26c387c02c497bc6">更多...</a><br /></td></tr>
<tr class="separator:a1b9709d47e4bc5fb26c387c02c497bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88dea7b05152c2db422e43144cb3ffba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a88dea7b05152c2db422e43144cb3ffba">setColorRamp</a> (bool on_off)</td></tr>
<tr class="memdesc:a88dea7b05152c2db422e43144cb3ffba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables/Disables the use of the color ramp in display.  <a href="class_cloud.html#a88dea7b05152c2db422e43144cb3ffba">更多...</a><br /></td></tr>
<tr class="separator:a88dea7b05152c2db422e43144cb3ffba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af175b4e4222c8c51d96cfa9438cfa4db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#af175b4e4222c8c51d96cfa9438cfa4db">append</a> (const <a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> &amp;point)</td></tr>
<tr class="memdesc:af175b4e4222c8c51d96cfa9438cfa4db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends a new 3D point to the cloud.  <a href="class_cloud.html#af175b4e4222c8c51d96cfa9438cfa4db">更多...</a><br /></td></tr>
<tr class="separator:af175b4e4222c8c51d96cfa9438cfa4db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a418710850cee8ab0344413e02f7cc70a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a418710850cee8ab0344413e02f7cc70a">append</a> (const <a class="el" href="class_cloud.html">Cloud</a> &amp;cloud)</td></tr>
<tr class="memdesc:a418710850cee8ab0344413e02f7cc70a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the points of the passed cloud to this cloud.  <a href="class_cloud.html#a418710850cee8ab0344413e02f7cc70a">更多...</a><br /></td></tr>
<tr class="separator:a418710850cee8ab0344413e02f7cc70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68f292248759a027c67288ec4283526b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a68f292248759a027c67288ec4283526b">remove</a> (const <a class="el" href="class_selection.html">Selection</a> &amp;selection)</td></tr>
<tr class="memdesc:a68f292248759a027c67288ec4283526b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the points in selection from the cloud.  <a href="class_cloud.html#a68f292248759a027c67288ec4283526b">更多...</a><br /></td></tr>
<tr class="separator:a68f292248759a027c67288ec4283526b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1be0c0345faefbbab6e9a885ae055ce7"><td class="memItemLeft" align="right" valign="top"><a id="a1be0c0345faefbbab6e9a885ae055ce7"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a1be0c0345faefbbab6e9a885ae055ce7">size</a> () const</td></tr>
<tr class="memdesc:a1be0c0345faefbbab6e9a885ae055ce7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the size of the cloud <br /></td></tr>
<tr class="separator:a1be0c0345faefbbab6e9a885ae055ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6796023a1410f634a5f45c84018bfff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#af6796023a1410f634a5f45c84018bfff">resize</a> (unsigned int new_size)</td></tr>
<tr class="memdesc:af6796023a1410f634a5f45c84018bfff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the cloud of this object to the passed new size  <a href="class_cloud.html#af6796023a1410f634a5f45c84018bfff">更多...</a><br /></td></tr>
<tr class="separator:af6796023a1410f634a5f45c84018bfff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a2613b2519998c74dd40caf0ce99c19"><td class="memItemLeft" align="right" valign="top"><a id="a0a2613b2519998c74dd40caf0ce99c19"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a0a2613b2519998c74dd40caf0ce99c19">clear</a> ()</td></tr>
<tr class="memdesc:a0a2613b2519998c74dd40caf0ce99c19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all points from the cloud and resets the object <br /></td></tr>
<tr class="separator:a0a2613b2519998c74dd40caf0ce99c19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8ba3493fa40567797532b1e6822e893"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aa8ba3493fa40567797532b1e6822e893">setPointSize</a> (int <a class="el" href="class_cloud.html#a1be0c0345faefbbab6e9a885ae055ce7">size</a>)</td></tr>
<tr class="memdesc:aa8ba3493fa40567797532b1e6822e893"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the sizes used for rendering the unselected points.  <a href="class_cloud.html#aa8ba3493fa40567797532b1e6822e893">更多...</a><br /></td></tr>
<tr class="separator:aa8ba3493fa40567797532b1e6822e893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fe2edd2193f129054d7b5ca5531aab7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a8fe2edd2193f129054d7b5ca5531aab7">setHighlightPointSize</a> (int <a class="el" href="class_cloud.html#a1be0c0345faefbbab6e9a885ae055ce7">size</a>)</td></tr>
<tr class="memdesc:a8fe2edd2193f129054d7b5ca5531aab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the sizes used for rendering the selected points.  <a href="class_cloud.html#a8fe2edd2193f129054d7b5ca5531aab7">更多...</a><br /></td></tr>
<tr class="separator:a8fe2edd2193f129054d7b5ca5531aab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18c25686db1ab399b858c0a72f59ae64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a18c25686db1ab399b858c0a72f59ae64">getObjectSpacePoint</a> (unsigned int index) const</td></tr>
<tr class="memdesc:a18c25686db1ab399b858c0a72f59ae64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the transformed coordinates of the indexed point in the cloud according to the object transform.  <a href="class_cloud.html#a18c25686db1ab399b858c0a72f59ae64">更多...</a><br /></td></tr>
<tr class="separator:a18c25686db1ab399b858c0a72f59ae64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab10a867665f62f1e2afd2bd09315d3d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ab10a867665f62f1e2afd2bd09315d3d4">getDisplaySpacePoint</a> (unsigned int index) const</td></tr>
<tr class="memdesc:ab10a867665f62f1e2afd2bd09315d3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the transformed coordinates of the indexed point in the cloud to match the display.  <a href="class_cloud.html#ab10a867665f62f1e2afd2bd09315d3d4">更多...</a><br /></td></tr>
<tr class="separator:ab10a867665f62f1e2afd2bd09315d3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6269b8993c79fb7372b0d983ccc8440"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ad6269b8993c79fb7372b0d983ccc8440">getDisplaySpacePoints</a> (<a class="el" href="local_types_8h.html#a80c002a5e1cf2388023affd0159c516d">Point3DVector</a> &amp;pts) const</td></tr>
<tr class="memdesc:ad6269b8993c79fb7372b0d983ccc8440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the transformed coordinates of the all the points in the cloud to match the display.  <a href="class_cloud.html#ad6269b8993c79fb7372b0d983ccc8440">更多...</a><br /></td></tr>
<tr class="separator:ad6269b8993c79fb7372b0d983ccc8440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eaca97dd3681eb87d0dfb61224f8412"><td class="memItemLeft" align="right" valign="top"><a id="a5eaca97dd3681eb87d0dfb61224f8412"></a>
const <a class="el" href="local_types_8h.html#ac9d3bd4a089ce0e457d8eac33b4ff838">Cloud3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a5eaca97dd3681eb87d0dfb61224f8412">getInternalCloud</a> () const</td></tr>
<tr class="memdesc:a5eaca97dd3681eb87d0dfb61224f8412"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a const reference to the internal representation of this object. <br /></td></tr>
<tr class="separator:a5eaca97dd3681eb87d0dfb61224f8412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a822e4283c83e090169c0af9c16f0414d"><td class="memItemLeft" align="right" valign="top"><a id="a822e4283c83e090169c0af9c16f0414d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a822e4283c83e090169c0af9c16f0414d">restore</a> (const <a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;copy_buffer, const <a class="el" href="class_selection.html">Selection</a> &amp;selection)</td></tr>
<tr class="memdesc:a822e4283c83e090169c0af9c16f0414d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Places the points in the copy buffer into the cloud according to the indices in the selection. <br /></td></tr>
<tr class="separator:a822e4283c83e090169c0af9c16f0414d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a662c2998bb8d9e87a76838913bb5a71b"><td class="memItemLeft" align="right" valign="top"><a id="a662c2998bb8d9e87a76838913bb5a71b"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a662c2998bb8d9e87a76838913bb5a71b">getStat</a> () const</td></tr>
<tr class="memdesc:a662c2998bb8d9e87a76838913bb5a71b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get statistics of the selected points in string. <br /></td></tr>
<tr class="separator:a662c2998bb8d9e87a76838913bb5a71b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a4701d84102e2c9e20168f3ec544613ae"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a4701d84102e2c9e20168f3ec544613ae">~Statistics</a> ()</td></tr>
<tr class="memdesc:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:a9844691a99b0b5ad52f6b05baa05aa22"><td class="memItemLeft" align="right" valign="top"><a id="a9844691a99b0b5ad52f6b05baa05aa22"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a9844691a99b0b5ad52f6b05baa05aa22">DEFAULT_POINT_DISPLAY_SIZE_</a></td></tr>
<tr class="memdesc:a9844691a99b0b5ad52f6b05baa05aa22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Size <br /></td></tr>
<tr class="separator:a9844691a99b0b5ad52f6b05baa05aa22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae30e4323a62769e050a02ea9edf8617"><td class="memItemLeft" align="right" valign="top"><a id="aae30e4323a62769e050a02ea9edf8617"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aae30e4323a62769e050a02ea9edf8617">DEFAULT_POINT_HIGHLIGHT_SIZE_</a></td></tr>
<tr class="memdesc:aae30e4323a62769e050a02ea9edf8617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Highlight Point Size <br /></td></tr>
<tr class="separator:aae30e4323a62769e050a02ea9edf8617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa77342de4d1c1c5fd32f999f6be8c237"><td class="memItemLeft" align="right" valign="top"><a id="aa77342de4d1c1c5fd32f999f6be8c237"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aa77342de4d1c1c5fd32f999f6be8c237">DEFAULT_POINT_DISPLAY_COLOR_RED_</a></td></tr>
<tr class="memdesc:aa77342de4d1c1c5fd32f999f6be8c237"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Color - Red componenet <br /></td></tr>
<tr class="separator:aa77342de4d1c1c5fd32f999f6be8c237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad461dbe79ebee3add06d38f7631a3fb"><td class="memItemLeft" align="right" valign="top"><a id="aad461dbe79ebee3add06d38f7631a3fb"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aad461dbe79ebee3add06d38f7631a3fb">DEFAULT_POINT_DISPLAY_COLOR_GREEN_</a></td></tr>
<tr class="memdesc:aad461dbe79ebee3add06d38f7631a3fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Color - Green componenet <br /></td></tr>
<tr class="separator:aad461dbe79ebee3add06d38f7631a3fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa75d22107a922ddb02e1733e01e3f695"><td class="memItemLeft" align="right" valign="top"><a id="aa75d22107a922ddb02e1733e01e3f695"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#aa75d22107a922ddb02e1733e01e3f695">DEFAULT_POINT_DISPLAY_COLOR_BLUE_</a></td></tr>
<tr class="memdesc:aa75d22107a922ddb02e1733e01e3f695"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Color - Blue componenet <br /></td></tr>
<tr class="separator:aa75d22107a922ddb02e1733e01e3f695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5adde986c3af398c881b3e3271316b"><td class="memItemLeft" align="right" valign="top"><a id="a2d5adde986c3af398c881b3e3271316b"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a2d5adde986c3af398c881b3e3271316b">DEFAULT_POINT_HIGHLIGHT_COLOR_RED_</a></td></tr>
<tr class="memdesc:a2d5adde986c3af398c881b3e3271316b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Highlight Color - Red componenet <br /></td></tr>
<tr class="separator:a2d5adde986c3af398c881b3e3271316b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4117a5f108fa2f1853efbc700d2966d1"><td class="memItemLeft" align="right" valign="top"><a id="a4117a5f108fa2f1853efbc700d2966d1"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a4117a5f108fa2f1853efbc700d2966d1">DEFAULT_POINT_HIGHLIGHT_COLOR_GREEN_</a></td></tr>
<tr class="memdesc:a4117a5f108fa2f1853efbc700d2966d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Highlight Color - Green componenet <br /></td></tr>
<tr class="separator:a4117a5f108fa2f1853efbc700d2966d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dadb5bd18c9f275af09c3edca88a2fc"><td class="memItemLeft" align="right" valign="top"><a id="a5dadb5bd18c9f275af09c3edca88a2fc"></a>
static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a5dadb5bd18c9f275af09c3edca88a2fc">DEFAULT_POINT_HIGHLIGHT_COLOR_BLUE_</a></td></tr>
<tr class="memdesc:a5dadb5bd18c9f275af09c3edca88a2fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Point Highlight Color - Blue componenet <br /></td></tr>
<tr class="separator:a5dadb5bd18c9f275af09c3edca88a2fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a999353c3dc27695e22e41dcdb5016c6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a999353c3dc27695e22e41dcdb5016c6b">updateCloudMembers</a> ()</td></tr>
<tr class="memdesc:a999353c3dc27695e22e41dcdb5016c6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the point cloud related members.  <a href="class_cloud.html#a999353c3dc27695e22e41dcdb5016c6b">更多...</a><br /></td></tr>
<tr class="separator:a999353c3dc27695e22e41dcdb5016c6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5e02e7df48d1a20df959b2fa36e48e9"><td class="memItemLeft" align="right" valign="top"><a id="ab5e02e7df48d1a20df959b2fa36e48e9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ab5e02e7df48d1a20df959b2fa36e48e9">enableTexture</a> () const</td></tr>
<tr class="memdesc:ab5e02e7df48d1a20df959b2fa36e48e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the texture used for rendering the cloud <br /></td></tr>
<tr class="separator:ab5e02e7df48d1a20df959b2fa36e48e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e7a87948b995fad8e793bdeebf4667"><td class="memItemLeft" align="right" valign="top"><a id="a51e7a87948b995fad8e793bdeebf4667"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a51e7a87948b995fad8e793bdeebf4667">disableTexture</a> () const</td></tr>
<tr class="memdesc:a51e7a87948b995fad8e793bdeebf4667"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the texture used for rendering the cloud <br /></td></tr>
<tr class="separator:a51e7a87948b995fad8e793bdeebf4667"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a3cd8a107246978c26eded935a1f5be52"><td class="memItemLeft" align="right" valign="top"><a id="a3cd8a107246978c26eded935a1f5be52"></a>
<a class="el" href="local_types_8h.html#ac9d3bd4a089ce0e457d8eac33b4ff838">Cloud3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a3cd8a107246978c26eded935a1f5be52">cloud_</a></td></tr>
<tr class="memdesc:a3cd8a107246978c26eded935a1f5be52"><td class="mdescLeft">&#160;</td><td class="mdescRight">The internal representation of the cloud <br /></td></tr>
<tr class="separator:a3cd8a107246978c26eded935a1f5be52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae14fbe68c9d80353ca4eed8f1330fd78"><td class="memItemLeft" align="right" valign="top">boost::weak_ptr&lt; <a class="el" href="class_selection.html">Selection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ae14fbe68c9d80353ca4eed8f1330fd78">selection_wk_ptr_</a></td></tr>
<tr class="separator:ae14fbe68c9d80353ca4eed8f1330fd78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3859005e55f585b9727ef4123f9d6b17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a3859005e55f585b9727ef4123f9d6b17">use_color_ramp_</a></td></tr>
<tr class="separator:a3859005e55f585b9727ef4123f9d6b17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75f42ec0428d3160345883ac85c08371"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a75f42ec0428d3160345883ac85c08371">use_native_color_</a></td></tr>
<tr class="separator:a75f42ec0428d3160345883ac85c08371"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a437dd7dca6316e0ad9a92daaa8c0440a"><td class="memItemLeft" align="right" valign="top"><a id="a437dd7dca6316e0ad9a92daaa8c0440a"></a>
<a class="el" href="local_types_8h.html#ae3996976d8ffb3e58d88f58227473f8e">Axis</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a437dd7dca6316e0ad9a92daaa8c0440a">color_ramp_axis_</a></td></tr>
<tr class="memdesc:a437dd7dca6316e0ad9a92daaa8c0440a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The axis which the color ramp is to be applied when drawing the cloud <br /></td></tr>
<tr class="separator:a437dd7dca6316e0ad9a92daaa8c0440a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af32f8c6c6574dbaa398c4f53ccbc7302"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#af32f8c6c6574dbaa398c4f53ccbc7302">display_scale_</a></td></tr>
<tr class="separator:af32f8c6c6574dbaa398c4f53ccbc7302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ba09fdf579a3c2ac3a5b907ca7a1171"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a3ba09fdf579a3c2ac3a5b907ca7a1171">center_xyz_</a> [<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td></tr>
<tr class="separator:a3ba09fdf579a3c2ac3a5b907ca7a1171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58bf92e37b9bea5efe4609ab4c8f0c94"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a58bf92e37b9bea5efe4609ab4c8f0c94">min_xyz_</a> [<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td></tr>
<tr class="separator:a58bf92e37b9bea5efe4609ab4c8f0c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0dded369b901abbdc9f2c784887b4ce"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac0dded369b901abbdc9f2c784887b4ce">max_xyz_</a> [<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td></tr>
<tr class="separator:ac0dded369b901abbdc9f2c784887b4ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73c32d602fc9856bd14e2808eafade3a"><td class="memItemLeft" align="right" valign="top"><a id="a73c32d602fc9856bd14e2808eafade3a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a73c32d602fc9856bd14e2808eafade3a">cloud_matrix_</a> [<a class="el" href="local_types_8h.html#a28c0b3f93eed6b2e58d2192b7ef2d8f4">MATRIX_SIZE</a>]</td></tr>
<tr class="memdesc:a73c32d602fc9856bd14e2808eafade3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A (4x4) OpenGL transform matrix for rendering the cloud <br /></td></tr>
<tr class="separator:a73c32d602fc9856bd14e2808eafade3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae283d82c68b3b09477b8c860f3e743d8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ae283d82c68b3b09477b8c860f3e743d8">select_matrix_</a> [<a class="el" href="local_types_8h.html#a28c0b3f93eed6b2e58d2192b7ef2d8f4">MATRIX_SIZE</a>]</td></tr>
<tr class="separator:ae283d82c68b3b09477b8c860f3e743d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd1a34cd673d213a0f0fa8075d9981f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="local_types_8h.html#a3c85da681fbf37b420b89c56681cdfe7">IndexVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a5bd1a34cd673d213a0f0fa8075d9981f">partitioned_indices_</a></td></tr>
<tr class="separator:a5bd1a34cd673d213a0f0fa8075d9981f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2d8a8253d093ef7b7b0767ce8f9daf8"><td class="memItemLeft" align="right" valign="top"><a id="ac2d8a8253d093ef7b7b0767ce8f9daf8"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac2d8a8253d093ef7b7b0767ce8f9daf8">point_size_</a></td></tr>
<tr class="memdesc:ac2d8a8253d093ef7b7b0767ce8f9daf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size used for rendering the unselected points in the cloud <br /></td></tr>
<tr class="separator:ac2d8a8253d093ef7b7b0767ce8f9daf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0112a34fb98b7a856d1a08078441327"><td class="memItemLeft" align="right" valign="top"><a id="ac0112a34fb98b7a856d1a08078441327"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#ac0112a34fb98b7a856d1a08078441327">selected_point_size_</a></td></tr>
<tr class="memdesc:ac0112a34fb98b7a856d1a08078441327"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size used for rendering the selected points in the cloud <br /></td></tr>
<tr class="separator:ac0112a34fb98b7a856d1a08078441327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f8c647a5c635d555039c2db56d03e3f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a6f8c647a5c635d555039c2db56d03e3f">color_</a> [RGB]</td></tr>
<tr class="separator:a6f8c647a5c635d555039c2db56d03e3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d87501c5b99d5c65bd916be771bcce7"><td class="memItemLeft" align="right" valign="top"><a id="a6d87501c5b99d5c65bd916be771bcce7"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a6d87501c5b99d5c65bd916be771bcce7">highlight_color_</a> [RGB]</td></tr>
<tr class="memdesc:a6d87501c5b99d5c65bd916be771bcce7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The R, G, B values used for highlighting the selected points. <br /></td></tr>
<tr class="separator:a6d87501c5b99d5c65bd916be771bcce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d85028a6262ff987486f01ed29c7cdb"><td class="memItemLeft" align="right" valign="top"><a id="a6d85028a6262ff987486f01ed29c7cdb"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cloud.html#a6d85028a6262ff987486f01ed29c7cdb">select_translate_x_</a></td></tr>
<tr class="memdesc:a6d85028a6262ff987486f01ed29c7cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The translations on x, y, and z axis on the selected points. <br /></td></tr>
<tr class="separator:a6d85028a6262ff987486f01ed29c7cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5254bbf9e54164774644bc1355927961"><td class="memItemLeft" align="right" valign="top"><a id="a5254bbf9e54164774644bc1355927961"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>select_translate_y_</b></td></tr>
<tr class="separator:a5254bbf9e54164774644bc1355927961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f5dcd3bb439f6bc16e55c556900bca6"><td class="memItemLeft" align="right" valign="top"><a id="a7f5dcd3bb439f6bc16e55c556900bca6"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>select_translate_z_</b></td></tr>
<tr class="separator:a7f5dcd3bb439f6bc16e55c556900bca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="ae0c0dc20399480729f93a5470679ca38"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#ae0c0dc20399480729f93a5470679ca38">getStats</a> ()</td></tr>
<tr class="memdesc:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the strings of the statistics. <br /></td></tr>
<tr class="separator:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65aec2bb494c12e19c2f5f60c1891767 inherit pub_static_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a65aec2bb494c12e19c2f5f60c1891767"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a65aec2bb494c12e19c2f5f60c1891767 inherit pub_static_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a60ddd90a571ed4c3ce8c0f6317a36d63"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a60ddd90a571ed4c3ce8c0f6317a36d63">Statistics</a> ()</td></tr>
<tr class="memdesc:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor. <br /></td></tr>
<tr class="separator:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a567e404052f8f50873c2dfa8cf261251"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a567e404052f8f50873c2dfa8cf261251">Statistics</a> (const <a class="el" href="class_statistics.html">Statistics</a> &amp;)</td></tr>
<tr class="memdesc:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor <br /></td></tr>
<tr class="separator:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="add22e612d4f455d5da0e6a02ea16d69a"></a>
virtual <a class="el" href="class_statistics.html">Statistics</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#add22e612d4f455d5da0e6a02ea16d69a">operator=</a> (const <a class="el" href="class_statistics.html">Statistics</a> &amp;)</td></tr>
<tr class="memdesc:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal Operator <br /></td></tr>
<tr class="separator:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a600df203053cd270b328d95df6a46aa6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">registerStats</a> ()</td></tr>
<tr class="memdesc:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a statistics <br /></td></tr>
<tr class="separator:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>A wrapper which allows to use any implementation of cloud provided by a third-party library. </p>
<p>This wrapper attempts to create a simple interface for displaying and modifying point clouds. It is common for point clouds to have coordinate values that are exceptionally large, especially when dealing with the GIS community. As such this class shifts the stored point cloud according to the minimum in each of the coordinate directions. The interface presented by this class then serves the shifted points in order to reduce any precision errors that may occur due to sums of large values. Functions also exist for accessing the unshifted versions of the points, however most operations performed on the cloud will expect it to live near the origin. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="abea94110bc5b060665fe22d3a3cc1259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abea94110bc5b060665fe22d3a3cc1259">&#9670;&nbsp;</a></span>Cloud() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cloud::Cloud </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td>
          <td class="paramname"><em>copy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy Constructor </p>
<p>This constructor creates a copy of the passed cloud. The values of the member variables of the passed cloud are deep copied. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy</td><td>The cloud object to be used to initialize this cloud object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a48917b2d09d0940640182e9c1f0d17fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48917b2d09d0940640182e9c1f0d17fb">&#9670;&nbsp;</a></span>Cloud() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cloud::Cloud </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="local_types_8h.html#ac9d3bd4a089ce0e457d8eac33b4ff838">Cloud3D</a> &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>register_stats</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a cloud from a Cloud3D. </p>
<p>This constructor creates a cloud object with the passed cloud object stored with the internal representation. The member variables of this object are initialized but not set. </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a418710850cee8ab0344413e02f7cc70a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a418710850cee8ab0344413e02f7cc70a">&#9670;&nbsp;</a></span>append() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::append </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td>
          <td class="paramname"><em>cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends the points of the passed cloud to this cloud. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cloud</td><td>the cloud to be appended to this cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af175b4e4222c8c51d96cfa9438cfa4db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af175b4e4222c8c51d96cfa9438cfa4db">&#9670;&nbsp;</a></span>append() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::append </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends a new 3D point to the cloud. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">point</td><td>the new point to be added. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a07dc96a1d9b6ade0759396b650b71e05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07dc96a1d9b6ade0759396b650b71e05">&#9670;&nbsp;</a></span>draw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::draw </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>disable_highlight</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Renders the cloud and highlights any selected points. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">disableHighlight</td><td>Defaults to false. If true the selected points will not be drawn. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_cloud.html#a1b9709d47e4bc5fb26c387c02c497bc6" title="Sets the axis along which the displyed points should have the color ramp applied.">setColorRampAxis</a>, <a class="el" href="class_cloud.html#a88dea7b05152c2db422e43144cb3ffba" title="Enables/Disables the use of the color ramp in display.">setColorRamp</a> </dd></dl>

</div>
</div>
<a id="ac1b373bbc6b4c5772ccb195ab30a3172"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1b373bbc6b4c5772ccb195ab30a3172">&#9670;&nbsp;</a></span>drawWithPureColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::drawWithPureColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Renders the cloud and highlights any selected points. </p>
<p>The non-selected points are in a single color </p>

</div>
</div>
<a id="a524e59307d2482b9245a256c0ec91d97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a524e59307d2482b9245a256c0ec91d97">&#9670;&nbsp;</a></span>drawWithRGB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::drawWithRGB </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Renders the cloud and highlights any selected points. </p>
<p>The colors of the non-selected points uses the native color of the original points </p><dl class="section pre"><dt>前置条件</dt><dd>The cloud should be originally colored. </dd></dl>

</div>
</div>
<a id="ad9a80d388e3b38078e37d97142b9ec74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9a80d388e3b38078e37d97142b9ec74">&#9670;&nbsp;</a></span>drawWithTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::drawWithTexture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Renders the cloud and highlights any selected points. </p>
<p>The colors of the non-selected points come from a 1D texture which is implemented by a color ramp. </p>

</div>
</div>
<a id="a50cb81a782226174179332c8a1ccf67f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50cb81a782226174179332c8a1ccf67f">&#9670;&nbsp;</a></span>getCenter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::getCenter </td>
          <td>(</td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the center of the point cloud </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>The x coordinate of the center (computed as the average point). </td></tr>
    <tr><td class="paramname">y</td><td>The y coordinate of the center (computed as the average point). </td></tr>
    <tr><td class="paramname">z</td><td>The z coordinate of the center (computed as the average point). </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    {</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;      x = <a class="code" href="class_cloud.html#a3ba09fdf579a3c2ac3a5b907ca7a1171">center_xyz_</a>[X]; y = <a class="code" href="class_cloud.html#a3ba09fdf579a3c2ac3a5b907ca7a1171">center_xyz_</a>[Y]; z = <a class="code" href="class_cloud.html#a3ba09fdf579a3c2ac3a5b907ca7a1171">center_xyz_</a>[Z];</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    }</div>
<div class="ttc" id="aclass_cloud_html_a3ba09fdf579a3c2ac3a5b907ca7a1171"><div class="ttname"><a href="class_cloud.html#a3ba09fdf579a3c2ac3a5b907ca7a1171">Cloud::center_xyz_</a></div><div class="ttdeci">float center_xyz_[XYZ_SIZE]</div><div class="ttdef"><b>Definition:</b> cloud.h:434</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ab10a867665f62f1e2afd2bd09315d3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab10a867665f62f1e2afd2bd09315d3d4">&#9670;&nbsp;</a></span>getDisplaySpacePoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> Cloud::getDisplaySpacePoint </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute the transformed coordinates of the indexed point in the cloud to match the display. </p>
<p>To save on computation, the points in the display are not transformed on the cpu side, instead the gpu is allowed to manipulate them for display. This function performs the same manipulation and returns the transformed point. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the point whose coordinates are transformed according to the display. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>The transformed point. </dd></dl>

</div>
</div>
<a id="ad6269b8993c79fb7372b0d983ccc8440"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6269b8993c79fb7372b0d983ccc8440">&#9670;&nbsp;</a></span>getDisplaySpacePoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::getDisplaySpacePoints </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#a80c002a5e1cf2388023affd0159c516d">Point3DVector</a> &amp;&#160;</td>
          <td class="paramname"><em>pts</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute the transformed coordinates of the all the points in the cloud to match the display. </p>
<p>To save on computation, the points in the display are not transformed on the cpu side, instead the gpu is allowed to manipulate them for display. This function performs the same manipulation and returns the transformed points. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pts</td><td>a vector used to store the points whose coordinates are transformed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1d1205aeba226e5f4575b2e127f3f424"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d1205aeba226e5f4575b2e127f3f424">&#9670;&nbsp;</a></span>getMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float* Cloud::getMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the transform matrix. </p>
<p>The returned matrix is used to transform the cloud for rendering only and does not affect the values of the points stored. </p><dl class="section return"><dt>返回</dt><dd>A 1-D array representing (4 x 4) matrix in using OpenGL's column-major format. </dd></dl>
<div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      <span class="keywordflow">return</span> (<a class="code" href="class_cloud.html#a73c32d602fc9856bd14e2808eafade3a">cloud_matrix_</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div>
<div class="ttc" id="aclass_cloud_html_a73c32d602fc9856bd14e2808eafade3a"><div class="ttname"><a href="class_cloud.html#a73c32d602fc9856bd14e2808eafade3a">Cloud::cloud_matrix_</a></div><div class="ttdeci">float cloud_matrix_[MATRIX_SIZE]</div><div class="ttdoc">A (4x4) OpenGL transform matrix for rendering the cloud</div><div class="ttdef"><b>Definition:</b> cloud.h:445</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a18c25686db1ab399b858c0a72f59ae64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18c25686db1ab399b858c0a72f59ae64">&#9670;&nbsp;</a></span>getObjectSpacePoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a> Cloud::getObjectSpacePoint </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute the transformed coordinates of the indexed point in the cloud according to the object transform. </p>
<p>This applies the object rotation and translation of the indexed point according to the user transforms. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the point whose coordinates are transformed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>The transformed point. </dd></dl>

</div>
</div>
<a id="aadcab77cbf8a04f98d3841a2148f174a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadcab77cbf8a04f98d3841a2148f174a">&#9670;&nbsp;</a></span>getScalingFactor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::getScalingFactor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the scaling factor for the point cloud </p>
<dl class="section return"><dt>返回</dt><dd>The scaling factor </dd></dl>
<div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    {</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      <span class="keywordflow">return</span> (<a class="code" href="class_cloud.html#af32f8c6c6574dbaa398c4f53ccbc7302">display_scale_</a>);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    }</div>
<div class="ttc" id="aclass_cloud_html_af32f8c6c6574dbaa398c4f53ccbc7302"><div class="ttname"><a href="class_cloud.html#af32f8c6c6574dbaa398c4f53ccbc7302">Cloud::display_scale_</a></div><div class="ttdeci">float display_scale_</div><div class="ttdef"><b>Definition:</b> cloud.h:430</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="adc241f6776966bf7aab53f0d0081be90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc241f6776966bf7aab53f0d0081be90">&#9670;&nbsp;</a></span>loadMatrix()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::loadMatrix </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the transform matrix for the cloud. </p>
<p>The passed matrix is used to transform the cloud for rendering only and does not affect the values of the points stored. </p><dl class="section pre"><dt>前置条件</dt><dd>The passed pointer represents a matrix having valid memory of at least MATRIX_SIZE elements. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a 1-D array representing (4 x 4) matrix in using OpenGL's column-major format. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a68511f1fe20c65926790a11250ad3f67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68511f1fe20c65926790a11250ad3f67">&#9670;&nbsp;</a></span>multMatrix()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::multMatrix </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Right multiplies the cloud matrix with the passed matrix </p>
<p>The application of this matrix effectively transforms the cloud from its current state. The passed matrix is used for display only and does not affect the values of the points stored. </p><dl class="section pre"><dt>前置条件</dt><dd>The passed pointer represents a matrix having valid memory of at least MATRIX_SIZE elements. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a 1-D array representing (4 x 4) matrix in using OpenGL's column-major format. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a17bf9d88532235d54696afcb8a2fbc08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17bf9d88532235d54696afcb8a2fbc08">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cloud.html">Cloud</a>&amp; Cloud::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td>
          <td class="paramname"><em>cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Equal Operator </p>
<p>Deep copies all the state of the passed cloud to this cloud. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cloud</td><td>The cloud object whose status to be copied to this object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>A reference to this cloud containing the new values. </dd></dl>

</div>
</div>
<a id="a55cb30916685127ea3f5ec2f5a1bf5bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55cb30916685127ea3f5ec2f5a1bf5bd">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a>&amp; Cloud::operator[] </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Subscript Operator </p>
<p>This operator returns a reference to the point with the passed index in this cloud object. </p><dl class="section pre"><dt>前置条件</dt><dd>The index passed is expected to be within the limits of the cloud. For debugging this is currently checked by an assert. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the point to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>A reference to the indexed point. </dd></dl>

</div>
</div>
<a id="ab09f18a615a0ced577b9d9199be8a0c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab09f18a615a0ced577b9d9199be8a0c4">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="local_types_8h.html#aa91692c8ec27c66986b1f88e3b35384b">Point3D</a>&amp; Cloud::operator[] </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Subscript Operator </p>
<p>This operator returns a const reference to the point with the passed index in this cloud object. </p><dl class="section pre"><dt>前置条件</dt><dd>The index passed is expected to be within the limits of the cloud. For debugging this is currently checked by an assert. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the point to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>A const reference to the indexed point. </dd></dl>

</div>
</div>
<a id="a68f292248759a027c67288ec4283526b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68f292248759a027c67288ec4283526b">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::remove </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_selection.html">Selection</a> &amp;&#160;</td>
          <td class="paramname"><em>selection</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the points in selection from the cloud. </p>
<p>Each indexed point in the selection will be removed from this container. </p><dl class="section pre"><dt>前置条件</dt><dd>The index of each point in the selection is expected to be within the limits of the cloud. For debugging this is currently checked by an assert. Also, it is expected that the selection indices are sorted. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">selection</td><td>a selection object which stores the indices of the selected points. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>备注</dt><dd>This function requires the use of <a class="el" href="class_selection.html#aeb4dc29169477cc1698620c45f18ffe4" title="Returns true if the passed index is selected.">Selection::isSelected</a> and its complexity can vary based on the implementation of that function. </dd></dl>

</div>
</div>
<a id="af6796023a1410f634a5f45c84018bfff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6796023a1410f634a5f45c84018bfff">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::resize </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>new_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the size of the cloud of this object to the passed new size </p>
<p>If the size is smaller than the current size, only the first new_size points will be kept, the rest being dropped. If new_size is larger than the current size, the new points required to fill the extended region are created with its default constructor. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">new_size</td><td>the new size of the cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a88dea7b05152c2db422e43144cb3ffba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88dea7b05152c2db422e43144cb3ffba">&#9670;&nbsp;</a></span>setColorRamp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setColorRamp </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on_off</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enables/Disables the use of the color ramp in display. </p>
<p>The color ramp aids in the visualization of the displayed points by varying the color according to a linear ramp along one of the axes. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">onOff</td><td>True enables the use of the color ramp and false disables. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    {</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;      <a class="code" href="class_cloud.html#a3859005e55f585b9727ef4123f9d6b17">use_color_ramp_</a> = on_off;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    }</div>
<div class="ttc" id="aclass_cloud_html_a3859005e55f585b9727ef4123f9d6b17"><div class="ttname"><a href="class_cloud.html#a3859005e55f585b9727ef4123f9d6b17">Cloud::use_color_ramp_</a></div><div class="ttdeci">bool use_color_ramp_</div><div class="ttdef"><b>Definition:</b> cloud.h:419</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a1b9709d47e4bc5fb26c387c02c497bc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b9709d47e4bc5fb26c387c02c497bc6">&#9670;&nbsp;</a></span>setColorRampAxis()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setColorRampAxis </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ae3996976d8ffb3e58d88f58227473f8e">Axis</a>&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the axis along which the displyed points should have the color ramp applied. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>The axis id describing which direction the ramp should be applied. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;      <a class="code" href="class_cloud.html#a437dd7dca6316e0ad9a92daaa8c0440a">color_ramp_axis_</a> = a;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    }</div>
<div class="ttc" id="aclass_cloud_html_a437dd7dca6316e0ad9a92daaa8c0440a"><div class="ttname"><a href="class_cloud.html#a437dd7dca6316e0ad9a92daaa8c0440a">Cloud::color_ramp_axis_</a></div><div class="ttdeci">Axis color_ramp_axis_</div><div class="ttdoc">The axis which the color ramp is to be applied when drawing the cloud</div><div class="ttdef"><b>Definition:</b> cloud.h:426</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a7c80af124215612f00cbae372d9fe715"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c80af124215612f00cbae372d9fe715">&#9670;&nbsp;</a></span>setHighlightColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setHighlightColor </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the RGB values used for highlighting the selected points. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>the value for red color </td></tr>
    <tr><td class="paramname">g</td><td>the value for the green color </td></tr>
    <tr><td class="paramname">b</td><td>the value for the blue color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8fe2edd2193f129054d7b5ca5531aab7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fe2edd2193f129054d7b5ca5531aab7">&#9670;&nbsp;</a></span>setHighlightPointSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setHighlightPointSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the sizes used for rendering the selected points. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The size, in pixels, used for rendering the points. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa8ba3493fa40567797532b1e6822e893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8ba3493fa40567797532b1e6822e893">&#9670;&nbsp;</a></span>setPointSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setPointSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the sizes used for rendering the unselected points. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The size, in pixels, used for rendering the points. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a224129b1045b1788fbd12632c6c66085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a224129b1045b1788fbd12632c6c66085">&#9670;&nbsp;</a></span>setRGB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setRGB </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the RGB values for coloring points in COLOR_BY_PURE mode. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>the value for red color </td></tr>
    <tr><td class="paramname">g</td><td>the value for the green color </td></tr>
    <tr><td class="paramname">b</td><td>the value for the blue color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac6b1eaecdc1607834f436e8a348c5c51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6b1eaecdc1607834f436e8a348c5c51">&#9670;&nbsp;</a></span>setSelection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setSelection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td>
          <td class="paramname"><em>selection_ptr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the selected points. </p>
<p>The cloud object is responsible for its display. As we have tried to adopt a lazy approach in the application of modifications to the cloud, the cloud must be notified of the selected points. This is required as the user may move the selected points and we do not wish for the selected points to be drawn twice, once in the user-updated position and another in the points original location. </p><dl class="section pre"><dt>前置条件</dt><dd>Assumes that the selection stores the selected indices of the points sorted. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">A</td><td>pointer pointing to a selection object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>备注</dt><dd>This has been implemented using a weak pointer to allow a lazy update to occur. When a selection is destroyed we can switch to a faster rendering mode; this also occurs if the selection object is empty. </dd></dl>

</div>
</div>
<a id="a73a5fc9d58e6dd4a2e0ca83cb2b90846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73a5fc9d58e6dd4a2e0ca83cb2b90846">&#9670;&nbsp;</a></span>setSelectionRotation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::setSelectionRotation </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the selection transform matrix to the one passed. </p>
<p>The selection matrix represents the local transformations applied to the selected points. The matrix is used relative to the cloud's state after the application of its own matrices which can be modified by loadMatrix and multMatrix functions. </p><dl class="section pre"><dt>前置条件</dt><dd>The passed pointer represents a matrix having valid memory of at least MATRIX_SIZE elements. </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a 1-D array representing (4 x 4) matrix in using OpenGL's column-major format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_cloud.html#adc241f6776966bf7aab53f0d0081be90" title="Sets the transform matrix for the cloud.">loadMatrix</a> <a class="el" href="class_cloud.html#a68511f1fe20c65926790a11250ad3f67" title="Right multiplies the cloud matrix with the passed matrix">multMatrix</a> </dd></dl>

</div>
</div>
<a id="a999353c3dc27695e22e41dcdb5016c6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999353c3dc27695e22e41dcdb5016c6b">&#9670;&nbsp;</a></span>updateCloudMembers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Cloud::updateCloudMembers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes the point cloud related members. </p>
<p>The cloud keeps track of certain values related to the points in the cloud. These include the minimum coordinates and the ranges in the coordinate directions. </p><dl class="section pre"><dt>前置条件</dt><dd>Assumes that there is at least one dimension of the point cloud that has non-zero range. </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a3ba09fdf579a3c2ac3a5b907ca7a1171"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ba09fdf579a3c2ac3a5b907ca7a1171">&#9670;&nbsp;</a></span>center_xyz_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::center_xyz_[<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The center coordinate values in the point cloud. This is used for display. </p>

</div>
</div>
<a id="a6f8c647a5c635d555039c2db56d03e3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f8c647a5c635d555039c2db56d03e3f">&#9670;&nbsp;</a></span>color_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::color_[RGB]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The R, G, B values used for coloring each points when the current color scheme is COLOR_BY_PURE. </p>

</div>
</div>
<a id="af32f8c6c6574dbaa398c4f53ccbc7302"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af32f8c6c6574dbaa398c4f53ccbc7302">&#9670;&nbsp;</a></span>display_scale_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::display_scale_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A scale value used to normalize the display of clouds. This is simply one over the maximum of the range in each coordinate direction </p>

</div>
</div>
<a id="ac0dded369b901abbdc9f2c784887b4ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0dded369b901abbdc9f2c784887b4ce">&#9670;&nbsp;</a></span>max_xyz_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::max_xyz_[<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The maximum coordinate values in the point cloud. This is used for display. </p>

</div>
</div>
<a id="a58bf92e37b9bea5efe4609ab4c8f0c94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58bf92e37b9bea5efe4609ab4c8f0c94">&#9670;&nbsp;</a></span>min_xyz_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::min_xyz_[<a class="el" href="local_types_8h.html#a836d92df79d664ff6130b35f0c3c95ff">XYZ_SIZE</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The minimum coordinate values in the point cloud. This is used for display. </p>

</div>
</div>
<a id="a5bd1a34cd673d213a0f0fa8075d9981f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bd1a34cd673d213a0f0fa8075d9981f">&#9670;&nbsp;</a></span>partitioned_indices_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="local_types_8h.html#a3c85da681fbf37b420b89c56681cdfe7">IndexVector</a> Cloud::partitioned_indices_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A vector of indices for every point in the cloud. This vector is used when a selection is set and sorted such that the selected indices appear first in the vector. This is used during display to allow for separate indexed drawing of the selection and the point cloud. Note that this vector is partitioned according to selected and not-selected. </p>

</div>
</div>
<a id="ae283d82c68b3b09477b8c860f3e743d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae283d82c68b3b09477b8c860f3e743d8">&#9670;&nbsp;</a></span>select_matrix_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float Cloud::select_matrix_[<a class="el" href="local_types_8h.html#a28c0b3f93eed6b2e58d2192b7ef2d8f4">MATRIX_SIZE</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A (4x4) OpenGL transform matrix specifying the relative transformations that are applied to the selected points in the cloud when drawing them as highlighted. </p>

</div>
</div>
<a id="ae14fbe68c9d80353ca4eed8f1330fd78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae14fbe68c9d80353ca4eed8f1330fd78">&#9670;&nbsp;</a></span>selection_wk_ptr_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::weak_ptr&lt;<a class="el" href="class_selection.html">Selection</a>&gt; Cloud::selection_wk_ptr_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@breif A weak pointer pointing to the selection object.</p>
<p>This implementation uses the weak pointer to allow for a lazy update of the cloud if the selection object is destroyed. </p>

</div>
</div>
<a id="a3859005e55f585b9727ef4123f9d6b17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3859005e55f585b9727ef4123f9d6b17">&#9670;&nbsp;</a></span>use_color_ramp_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Cloud::use_color_ramp_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Flag that indicates whether a color ramp should be used (true) or not (false) when displaying the cloud </p>

</div>
</div>
<a id="a75f42ec0428d3160345883ac85c08371"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75f42ec0428d3160345883ac85c08371">&#9670;&nbsp;</a></span>use_native_color_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Cloud::use_native_color_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Flag that indicates whether the cloud should be colored with its own color </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="cloud_8h_source.html">cloud.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_cloud.html">Cloud</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
